package Model.Game;
import Model.Beat.BeatModelInterface;
import View.BPMObserver;
import View.BeatObserver;
import View.Beat.* ; 

public class GameAdapter implements BeatModelInterface {
	GameModelInterface g ;  
	
	public GameAdapter(GameModelInterface g){
		this.g = g ; 
	}
	
	public void initialize() {}

	public void on() {}

	public void off() {}

	public void setBPM(int bpm) {
		g.click() ; 
	}

	public int getBPM() {
		return g.getCount() ; 
	}

	public void registerObserver(BeatObserver o) {
		g.registerObserver(o) ;
	}

	public void removeObserver(BeatObserver o) {
		g.removeObserver(o) ;
	}

	public void registerObserver(BPMObserver o) {
		g.registerObserver(o) ;	
	}

	public void removeObserver(BPMObserver o) {
		g.removeObserver(o) ;
	}

	
}
